package com.ruoyi.guanbao.ims.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 管报进销存V2.0收发明细视图
 * </p>
 *
 * @author zhangzk
 * @since 2025-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("GUANBAO_TRAN_PUR_OUT_V")
@ApiModel(value="GuanbaoTranPurOutV对象", description="管报进销存V2.0收发明细视图")
public class GuanbaoTranPurOutV extends Model<GuanbaoTranPurOutV> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "期间")
    @TableField("YEAR_MONTH_1")
    private String yearMonth1;

    @ApiModelProperty(value = "库存组织编码")
    @TableField("INVENTORY_ORG_CODE_1")
    private String inventoryOrgCode1;

    @ApiModelProperty(value = "库存组织名称")
    @TableField("INVENTORY_ORG_NAME_1")
    private String inventoryOrgName1;

    @ApiModelProperty(value = "核算类型")
    @TableField("ACCT_TYPE_1")
    private String acctType1;

    @ApiModelProperty(value = "单据编码")
    @TableField("BILL_NUMBER_1")
    private String billNumber1;

    @ApiModelProperty(value = "物料编码")
    @TableField("MATERIAL_CODE_1")
    private String materialCode1;

    @ApiModelProperty(value = "物料名称")
    @TableField("MATERIAL_NAME_1")
    private String materialName1;

    @ApiModelProperty(value = "物料规格")
    @TableField("SPECIFICATION_1")
    private String specification1;

    @ApiModelProperty(value = "单位")
    @TableField("FBASE_UNIT_1")
    private String fbaseUnit1;

    @ApiModelProperty(value = "数量")
    @TableField("QTY_G")
    private BigDecimal qtyG;

    @ApiModelProperty(value = "单价")
    @TableField("PRICE_G")
    private BigDecimal priceG;

    @ApiModelProperty(value = "金额")
    @TableField("AMOUNT_G")
    private BigDecimal amountG;

    @ApiModelProperty(value = "来源类型")
    @TableField("COST_SOURCE_1")
    private String costSource1;

    @ApiModelProperty(value = "类别")
    @TableField("LEIBEI_1")
    private String leibei1;

    @ApiModelProperty(value = "排序用")
    @TableField("XU1")
    private BigDecimal xu1;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
